/**
 * Jul 11, 2012
 */
package ee.edi.common.core;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import ee.edi.common.db.Field;
import ee.edi.common.resource.Resource;


/**
 * @author andrei
 *
 */
@XmlRootElement(name = "Document-Invoice")
@XmlAccessorType(XmlAccessType.FIELD)
public class DocHeader extends Resource {
	@XmlElement(name = "DocumentType")
	public @Field String documenttype;
	
	@XmlElement(name = "DocumentUID")
	public @Field String receiversystemtype;
	
	@XmlElement(name = "DocumentID")
	public @Field Integer documentnumber;
	
	@XmlElement(name = "DocumentReceiveDateTime")
	public @Field Date documentdate1;
	
	@XmlElement(name = "DocumentProcessDateTime")
	public @Field Date documentdate2;
	
	@XmlElement(name = "DocumentType")
	public @Field Integer senderiln;
	
	@XmlElement(name = "DocumentType")
	public @Field Integer sendercodebyreceiver;
	
	@XmlElement(name = "DocumentType")
	public @Field String sendername;
	
	@XmlElement(name = "DocumentType")
	public @Field String senderaddress;
	
	@XmlElement(name = "DocumentType")
	public @Field Integer receiveriln;
	
	@XmlElement(name = "DocumentType")
	public @Field Integer receivercodebyreceiver;
	
	@XmlElement(name = "DocumentType")
	public @Field String receivername;
	
	@XmlElement(name = "DocumentType")
	public @Field String receiveraddress;

	
}
